[INFO] fetching crate pallet-babe 2.0.0-rc6...
[INFO] checking pallet-babe-2.0.0-rc6 against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] extracting crate pallet-babe 2.0.0-rc6 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate pallet-babe 2.0.0-rc6 on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-babe 2.0.0-rc6
[INFO] finished tweaking crates.io crate pallet-babe 2.0.0-rc6
[INFO] tweaked toml for crates.io crate pallet-babe 2.0.0-rc6 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f3f3e191b4818a7c897f8a29cbfc228953000d522719cbc06147559b92f961a1
[INFO] running `Command { std: "docker" "start" "-a" "f3f3e191b4818a7c897f8a29cbfc228953000d522719cbc06147559b92f961a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3f3e191b4818a7c897f8a29cbfc228953000d522719cbc06147559b92f961a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3f3e191b4818a7c897f8a29cbfc228953000d522719cbc06147559b92f961a1", kill_on_drop: false }`
[INFO] [stdout] f3f3e191b4818a7c897f8a29cbfc228953000d522719cbc06147559b92f961a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 80d3a35a4ffb8b8797389634f71f935ff9f5a904eecdcb65e25528d73b6739dd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "80d3a35a4ffb8b8797389634f71f935ff9f5a904eecdcb65e25528d73b6739dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]     Checking instant v0.1.6
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking subtle v2.2.3
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking radium v0.3.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]     Checking byte-slice-cast v0.3.5
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking ahash v0.3.8
[INFO] [stderr]     Checking tinyvec v0.3.4
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking gimli v0.22.0
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking sp-std v2.0.0-rc6
[INFO] [stderr]     Checking object v0.20.0
[INFO] [stderr]     Checking signature v1.2.2
[INFO] [stderr]     Checking parity-wasm v0.41.0
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking memory_units v0.3.0
[INFO] [stderr]    Compiling parity-util-mem v0.7.0
[INFO] [stderr]     Checking hash-db v0.15.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking environmental v1.1.1
[INFO] [stderr]     Checking dyn-clone v1.0.2
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking hex v0.4.2
[INFO] [stderr]     Checking base58 v0.1.0
[INFO] [stderr]     Checking integer-sqrt v0.1.3
[INFO] [stderr]     Checking lock_api v0.4.1
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]     Checking tracing-core v0.1.14
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking bitvec v0.17.4
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking blake2s_simd v0.5.10
[INFO] [stderr]     Checking blake2b_simd v0.5.10
[INFO] [stderr]     Checking miniz_oxide v0.4.0
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling indexmap v1.5.1
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking ed25519 v1.0.1
[INFO] [stderr]     Checking trie-root v0.16.0
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]     Checking log v0.4.11
[INFO] [stderr]    Compiling paste-impl v0.1.18
[INFO] [stderr]     Checking uint v0.8.5
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]     Checking futures-lite v0.1.11
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking wasmi-validation v0.3.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]     Checking parking_lot_core v0.8.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking socket2 v0.3.12
[INFO] [stderr]     Checking polling v0.1.5
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking ring v0.16.15
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking blake2-rfc v0.2.18
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking paste v0.1.18
[INFO] [stderr]     Checking trie-db v0.22.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot v0.11.0
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]    Compiling prost-build v0.6.1
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking parking_lot_core v0.6.2
[INFO] [stderr]     Checking addr2line v0.13.0
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]     Checking statrs v0.10.0
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]     Checking backtrace v0.3.50
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking pbkdf2 v0.3.0
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking sha2 v0.9.1
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking sha-1 v0.9.1
[INFO] [stderr]     Checking blake3 v0.3.6
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]     Checking async-io v0.1.11
[INFO] [stderr]     Checking blocking v0.5.2
[INFO] [stderr]     Checking alga v0.9.3
[INFO] [stderr]     Checking hmac-drbg v0.2.0
[INFO] [stderr]     Checking sp-panic-handler v2.0.0-rc6
[INFO] [stderr]     Checking multihash v0.11.3
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking async-executor v0.1.2
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]     Checking fixed-hash v0.6.1
[INFO] [stderr]     Checking libsecp256k1 v0.3.5
[INFO] [stderr]     Checking twox-hash v1.5.0
[INFO] [stderr]     Checking wasmi v0.6.2
[INFO] [stderr]     Checking nalgebra v0.18.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.67
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.67
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling zeroize_derive v1.0.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.11
[INFO] [stderr]    Compiling sp-debug-derive v2.0.0-rc6
[INFO] [stderr]    Compiling ref-cast-impl v1.0.2
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.1.3
[INFO] [stderr]    Compiling rental-impl v0.5.5
[INFO] [stderr]    Compiling parity-util-mem-derive v0.1.0
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]    Compiling derive_more v0.99.9
[INFO] [stderr]    Compiling prost-derive v0.6.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v2.0.0-rc6
[INFO] [stderr]    Compiling asn1_der_derive v0.1.2
[INFO] [stderr]    Compiling libp2p-core-derive v0.20.2
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.67
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]     Checking ref-cast v1.0.2
[INFO] [stderr]     Checking zeroize v1.1.0
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking curve25519-dalek v3.0.0
[INFO] [stderr]     Checking merlin v2.0.0
[INFO] [stderr]     Checking curve25519-dalek v2.1.0
[INFO] [stderr]     Checking secrecy v0.6.0
[INFO] [stderr]     Checking tiny-bip39 v0.7.3
[INFO] [stderr]     Checking asn1_der v0.6.3
[INFO] [stderr]     Checking wasm-bindgen v0.2.67
[INFO] [stderr]     Checking tracing v0.1.19
[INFO] [stderr]     Checking schnorrkel v0.9.1
[INFO] [stderr]     Checking js-sys v0.3.44
[INFO] [stderr]     Checking thiserror v1.0.20
[INFO] [stderr]     Checking prometheus v0.9.0
[INFO] [stderr]     Checking substrate-bip39 v0.4.1
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]    Compiling prost v0.6.1
[INFO] [stderr]    Compiling prost-types v0.6.1
[INFO] [stderr]     Checking web-sys v0.3.44
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]     Checking h2 v0.2.6
[INFO] [stderr]     Checking rental v0.5.5
[INFO] [stderr]    Compiling libp2p-core v0.20.1
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking wasm-timer v0.2.4
[INFO] [stderr]     Checking rw-stream-sink v0.2.1
[INFO] [stderr]     Checking multistream-select v0.8.2
[INFO] [stderr]     Checking sp-tracing v2.0.0-rc6
[INFO] [stderr]     Checking linregress v0.1.7
[INFO] [stderr]     Checking gloo-timers v0.2.1
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking async-std v1.6.3
[INFO] [stderr]     Checking sp-utils v2.0.0-rc6
[INFO] [stderr]     Checking impl-serde v0.3.1
[INFO] [stderr]     Checking impl-serde v0.2.3
[INFO] [stderr]     Checking ed25519-dalek v1.0.0
[INFO] [stderr]     Checking parity-multiaddr v0.9.1
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]     Checking hyper v0.13.7
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling frame-support-procedural-tools v2.0.0-rc6
[INFO] [stderr]    Compiling parity-scale-codec-derive v1.2.1
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v2.0.0-rc6
[INFO] [stderr]    Compiling sp-api-proc-macro v2.0.0-rc6
[INFO] [stderr]    Compiling frame-support-procedural v2.0.0-rc6
[INFO] [stderr]     Checking libp2p-swarm v0.20.1
[INFO] [stderr]     Checking libp2p v0.23.0
[INFO] [stderr]     Checking parity-scale-codec v1.3.4
[INFO] [stderr]     Checking substrate-prometheus-endpoint v0.8.0-rc6
[INFO] [stderr]     Checking impl-codec v0.4.2
[INFO] [stderr]     Checking sp-storage v2.0.0-rc6
[INFO] [stderr]     Checking sp-wasm-interface v2.0.0-rc6
[INFO] [stderr]     Checking sp-arithmetic v2.0.0-rc6
[INFO] [stderr]     Checking primitive-types v0.7.2
[INFO] [stderr]     Checking sp-externalities v0.8.0-rc6
[INFO] [stderr]     Checking sp-runtime-interface v2.0.0-rc6
[INFO] [stderr]     Checking memory-db v0.24.1
[INFO] [stderr]     Checking sp-core v2.0.0-rc6
[INFO] [stderr]     Checking sp-trie v2.0.0-rc6
[INFO] [stderr]     Checking sp-inherents v2.0.0-rc6
[INFO] [stderr]     Checking frame-metadata v11.0.0-rc6
[INFO] [stderr]     Checking sp-state-machine v0.8.0-rc6
[INFO] [stderr]     Checking sp-io v2.0.0-rc6
[INFO] [stderr]     Checking sp-application-crypto v2.0.0-rc6
[INFO] [stderr]     Checking sp-runtime v2.0.0-rc6
[INFO] [stderr]     Checking sp-version v2.0.0-rc6
[INFO] [stderr]     Checking frame-support v2.0.0-rc6
[INFO] [stderr]     Checking sp-staking v2.0.0-rc6
[INFO] [stderr]     Checking sp-consensus-slots v0.8.0-rc6
[INFO] [stderr]     Checking sp-authorship v2.0.0-rc6
[INFO] [stderr]     Checking sp-consensus-vrf v0.8.0-rc6
[INFO] [stderr]     Checking sp-api v2.0.0-rc6
[INFO] [stderr]     Checking sp-timestamp v2.0.0-rc6
[INFO] [stderr]     Checking sp-consensus v0.8.0-rc6
[INFO] [stderr]     Checking sp-session v2.0.0-rc6
[INFO] [stderr]     Checking sp-consensus-babe v0.8.0-rc6
[INFO] [stderr]     Checking frame-system v2.0.0-rc6
[INFO] [stderr]     Checking frame-benchmarking v2.0.0-rc6
[INFO] [stderr]     Checking pallet-authorship v2.0.0-rc6
[INFO] [stderr]     Checking pallet-timestamp v2.0.0-rc6
[INFO] [stderr]     Checking pallet-session v2.0.0-rc6
[INFO] [stderr]     Checking pallet-babe v2.0.0-rc6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_core`
[INFO] [stdout]   --> src/mock.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use sp_core::{H256, U256, crypto::{KeyTypeId, Pair}};
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type or module `sp_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_core`
[INFO] [stdout]   --> src/mock.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use sp_core::{H256, U256, crypto::{KeyTypeId, Pair}};
[INFO] [stdout]    |     ^^^^^^^ help: a similar path exists: `sp_application_crypto::sp_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_core`
[INFO] [stdout]   --> src/tests.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use sp_core::crypto::{IsWrappedBy, Pair};
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type or module `sp_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use pallet_staking::EraIndex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking_reward_curve`
[INFO] [stdout]    --> src/mock.rs:163:1
[INFO] [stdout]     |
[INFO] [stdout] 163 | pallet_staking_reward_curve::build! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |     type AccountData = pallet_balances::AccountData<u128>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:113:23
[INFO] [stdout]     |
[INFO] [stdout] 113 |     type ValidatorIdOf = pallet_staking::StashOf<Self>;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:116:40
[INFO] [stdout]     |
[INFO] [stdout] 116 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                           ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:123:22
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl pallet_session::historical::Trait for Test {
[INFO] [stdout]     |                      ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:124:28
[INFO] [stdout]     |
[INFO] [stdout] 124 |     type FullIdentification = pallet_staking::Exposure<u64, u128>;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:125:30
[INFO] [stdout]     |
[INFO] [stdout] 125 |     type FullIdentificationOf = pallet_staking::ExposureOf<Self>;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:154:6
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl pallet_balances::Trait for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:199:6
[INFO] [stdout]     |
[INFO] [stdout] 199 | impl pallet_staking::Trait for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_offences`
[INFO] [stdout]    --> src/mock.rs:227:6
[INFO] [stdout]     |
[INFO] [stdout] 227 | impl pallet_offences::Trait for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:229:45
[INFO] [stdout]     |
[INFO] [stdout] 229 |     type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
[INFO] [stdout]     |                                                ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:253:21
[INFO] [stdout]     |
[INFO] [stdout] 253 | pub type Balances = pallet_balances::Module<Test>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:254:39
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub type Historical = pallet_session::historical::Module<Test>;
[INFO] [stdout]     |                                       ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_offences`
[INFO] [stdout]    --> src/mock.rs:255:21
[INFO] [stdout]     |
[INFO] [stdout] 255 | pub type Offences = pallet_offences::Module<Test>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:257:20
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub type Staking = pallet_staking::Module<Test>;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:386:5
[INFO] [stdout]     |
[INFO] [stdout] 386 |                 pallet_staking::StakerStatus::<u64>::Validator,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:401:2
[INFO] [stdout]     |
[INFO] [stdout] 401 |     pallet_balances::GenesisConfig::<Test> { balances }
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:405:23
[INFO] [stdout]     |
[INFO] [stdout] 405 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:408:14
[INFO] [stdout]     |
[INFO] [stdout] 408 |         force_era: pallet_staking::Forcing::ForceNew,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:207:5
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:254:4
[INFO] [stdout]     |
[INFO] [stdout] 254 |             pallet_staking::Exposure {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:271:5
[INFO] [stdout]     |
[INFO] [stdout] 271 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:339:4
[INFO] [stdout]     |
[INFO] [stdout] 339 |             pallet_staking::Exposure {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope
[INFO] [stdout]    --> src/mock.rs:179:62
[INFO] [stdout]     |
[INFO] [stdout] 179 |     pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeyTypeId` in this scope
[INFO] [stdout]    --> src/mock.rs:243:54
[INFO] [stdout]     |
[INFO] [stdout] 243 |         <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, AuthorityId)>>::Proof;
[INFO] [stdout]     |                                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use crate::KeyTypeId;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_application_crypto::KeyTypeId;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_runtime::KeyTypeId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeyTypeId` in this scope
[INFO] [stdout]    --> src/mock.rs:246:3
[INFO] [stdout]     |
[INFO] [stdout] 246 |         KeyTypeId,
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  | use crate::KeyTypeId;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_application_crypto::KeyTypeId;
[INFO] [stdout]     |
[INFO] [stdout] 20  | use sp_runtime::KeyTypeId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_core`
[INFO] [stdout]   --> src/tests.rs:67:32
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let pair = sp_core::sr25519::Pair::from_ref(&pairs[0]).as_ref();
[INFO] [stdout]    |                                      ^^^^ not found in `sp_core::sr25519`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::mock::sp_io::Pair;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::mock::sp_io::ecdsa::Pair;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::mock::sp_io::ecdsa::de::value::private::Pair;
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::mock::sp_io::ed25519::Pair;
[INFO] [stdout]    |
[INFO] [stdout]      and 6 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 31 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-babe`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "80d3a35a4ffb8b8797389634f71f935ff9f5a904eecdcb65e25528d73b6739dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80d3a35a4ffb8b8797389634f71f935ff9f5a904eecdcb65e25528d73b6739dd", kill_on_drop: false }`
[INFO] [stdout] 80d3a35a4ffb8b8797389634f71f935ff9f5a904eecdcb65e25528d73b6739dd
